cmake_minimum_required(VERSION 3.0)

set(BASE_FILES
        bitstream.c
        bitstream.h
        config.h
        mask.c
        mask.h
        mmask.c
        mmask.h
        mqrspec.c
        mqrspec.h
        qrenc.c
        qrencode.c
        qrencode.h
        qrencode_inner.h
        qrinput.c
        qrinput.h
        qrspec.c
        qrspec.h
        rsecc.c
        rsecc.h
        split.c
        split.h
        )

add_executable(
        demo_qrcode
        ${BASE_FILES}
        demo_qrcode.c
)
